package consts

import (
	"longmen/server/config/global"
)

const (
	DbCategory1  = iota + 1 //热门
	DbCategory2             //英超
	DbCategory3             //NBA
	DbCategory4             //CBA
	DbCategory5             //西甲
	DbCategory6             //意甲
	DbCategory7             //德甲
	DbCategory8             //法甲
	DbCategory9             //中超
	DbCategory10            //世界足球
	DbCategory11            //欧冠
	DbCategory12            //电竞
)

//dqty 新闻
var DqtyCategorySlice map[int]int

func InitDqtyMap() {
	DqtyCategorySlice = make(map[int]int)
	DqtyCategorySlice[DbCategory1] = 9999
	DqtyCategorySlice[DbCategory2] = 2
	DqtyCategorySlice[DbCategory3] = 10007
	DqtyCategorySlice[DbCategory4] = 8
	DqtyCategorySlice[DbCategory5] = 3
	DqtyCategorySlice[DbCategory6] = 10002
	DqtyCategorySlice[DbCategory7] = 5
	DqtyCategorySlice[DbCategory8] = 10003
	DqtyCategorySlice[DbCategory9] = 10001
	DqtyCategorySlice[DbCategory10] = 10009
	DqtyCategorySlice[DbCategory11] = 10005
	DqtyCategorySlice[DbCategory12] = 6
	global.Log.Debugf("DqtyCategorySlice:%+v", DqtyCategorySlice)
}
